package com.example.demo.Service;

import com.example.demo.model.Book;
import com.example.demo.model.Borrow;
import com.example.demo.model.Librarian;
import org.springframework.stereotype.Service;

import java.util.List;


public interface BorrowService {
    public Integer borrowBook(Borrow borrow);
    public  Integer returnBook(Borrow borrow);
    public List<Borrow> getBorrowList();
    public List<Borrow> getBorrowById(Integer reader_id);
    public  Integer modifyBorrow(Borrow borrow);
}
